Management side: 172.18.0.135 win7 system proxy: 172.18.0.212 Debian7.2Premise: SNMP is configured on the proxy side, it can realize the system Information monitoring with SNMP protocol normally.1, the management side download net-snmp:http://jaist.dl.sourceforge.net/project/net-snmp/net-snmp%20binaries/5.6.1.1-binarie
/, and experiment with each other based on different situations)
Add the following line:
Set access permissions for all users: executable, record, and pass:
Authcommunity execute, log, net public
Set traphandle (that is, when you receive the OID information of. 1.3.6.1.4.1.2021.251.1, run test. pl)
Traphandle. 1.3.6.1.4.1.2021.251.1/home/long/test. pl
Here. 1.3.6.1.4.1.2021.251.1 is an Enterprise-OID
/Home/
}netsnmpexampleheartbeatnotification NOTIFICATION-TYPE OBJECTS {netsnmpexampleheartbeatrate} STATUS current DESCRIPTION"An example notification, used to illustrate thedefinition and generation of trap and inform PDUs (including the use of both standard and additional VarbindsinchThe notification payload). This notification'll typically be sent every -SecondsusingThe code foundinchThe example Module Agent/mibgroup/examples/notification.c":: = {Netsnmpe
. Different machines may be stored in/etc/snmp,/usr/local/share/snmp/, and experiment with each other based on different situations)
Add the following line:
Set access permissions for all users: executable, record, and pass:
authcommunityexecute,log,netpublic
Set traphandle (that is, when you receive the OID information of. 1.3.6.1.4.1.2021.251.1, run test
from UDP port 1620 of all network interfaces on the platform. You can specify the IP address or other non-authorized port (greater than 1024) of a specific network interface as needed ).
You can use netstat to check the port status.
Configure trap Generator
Step 1,In an SNMP-enabled system or application, set the hypeic agent as the destination for receiving traps.
Step 2,Provides the
Test Tool and test tool in "C/C ++ integrated exercise for engineers"Preface
Date:When I stepped into central China, my postgraduate studies were about to take a year away, and my feet suddenly flew away. In the coming year, Alexander will be the task of work. The stupid bird must fly first, and the opportunity is alwa
Network Scanning and sniffing tool Nmap in the penetration test tutorial of KailLinuxNetwork Scanning and sniffing tool Nmap Network scanning and sniffing tool-NmapNmap is a free and open Network scanning and sniffing tool. This tool
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.